package com.sixmac.model;

import java.util.Date;

import com.sixmac.core.base.model.BaseModel;
import org.beetl.sql.core.annotatoin.Table;

/**
 * Comment
 * 2018-07-05 11:52:35
 *
 * @author Blade
 */
@Table(name = "t_comment")
@SuppressWarnings("serial")
public class Comment extends BaseModel {

    private Integer id;
    /**
     * 章节id
     */
    private Integer courseChapterId;
    /**
     * 用户id
     */
    private Integer userId;
    /**
     * 评论内容
     */
    private String content;
    /**
     * 创建时间
     */
    private Date createtime;
    private Date updatetime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCourseChapterId() {
        return courseChapterId;
    }

    public void setCourseChapterId(Integer courseChapterId) {
        this.courseChapterId = courseChapterId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }


}
